<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>登录系统</title>
 <style type="text/css">
html , body{
	width: 100%;
	margin: 0px;
	padding: 0px;
	height: 100%;
}
 .content {
	margin: 0 auto;
	color: #2C237F;
	/* [disabled]font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif; */
	top: 20%;
	position: relative;
	width: 300px;
}
 </style>
 <script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
 </head>
 <body>
 <${r"#"}import "/spring.ftl" as spring/>
 <form class="content" action="/boss/login" method="post">
 	<${r"@"}spring.bind "loginForm" />
	<${r"@"}spring.showErrors "<br>"/>
   <table width="242" border="0">
	  <tbody>
		<tr>
		  <td width="58">用户名</td>
		  <td width="168">
			<input type="text" name="userName" value="${r"$"}{loginForm.userName!}">
			<${r"#"}if loginForm??>  
				<${r"@"}spring.bind "loginForm.userName" />  
				<${r"@"}spring.showErrors "<br>"/>  
			</${r"#"}if>
		  </td>
		</tr>
		<tr>
		  <td>密码</td>
		  <td>
			<input type="password" name="password" value="${r"$"}{loginForm.password!}">
			<${r"#"}if loginForm??>  
				<${r"@"}spring.bind "loginForm.password" />  
				<${r"@"}spring.showErrors "<br>"/>  
			</${r"#"}if>
		  </td>
		</tr>
		<tr>
		  <td>验证码</td>
		  <td>
			<input type="password" name="captcha" value="${r"$"}{loginForm.captcha!}">
			<${r"#"}if loginForm??>  
				<${r"@"}spring.bind "loginForm.captcha" />  
				<${r"@"}spring.showErrors "<br>"/>  
			</${r"#"}if>
		  </td>
		</tr>
		<tr>
		  <td colspan="2" align="center">
		  <img width="120" height="34" style="cursor: pointer;"
               src="/boss/captcha.jpg"
               onclick="$(this).attr('src','/boss/captcha.jpg?seed=' + new Date().getTime());"
               alt="请输入您看到的内容，不清晰请点击换一张"/>
		  </td>
		</tr>
		<tr>
		  <td colspan="2" align="center"><p>
			<input type="submit" value="提交">&emsp;
			<input type="reset" value="重置">
		  </p></td>
		</tr>
	  </tbody>
	</table>
 </form>
 </body>
</html>
